home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / ditroff / tmac.jacm < prev    next >
Encoding:
Text File  |  1988-12-21  |  7.8 KB  |  541 lines

  1. .rn ne NE
  2. .rn bp BP
  3. .rn di DI
  4. .ds n \v'.6m'\h'.05m'\(rn\h'.05m'\v'-.6m'
  5. .de ne
  6. .nr QE \\$1v
  7. .if \\n(.t<\\n(QE .dt \\n(.du+4u \\*(DT
  8. ..
  9. .de IZ
  10. .if \\n(PS=0 .nr PS 10
  11. .if \\n(VS=0 .nr VS 12
  12. .if \\n(LP=0 .nr LP 53P
  13. .if \\n(LS=0 .nr LS 0.5v
  14. .if \\n(PL=0 .nr PL \\n(LPu+2i
  15. .if \\n(LL=0 .nr LL 32P
  16. .if \\n(HM=0 .nr HM .75i-1v
  17. .if \\n(IQ=0 .nr IQ 24p
  18. .ps \\n(PS
  19. .vs \\n(VS
  20. .pl \\n(PLu
  21. .ll \\n(LLu
  22. .lt \\n(LLu
  23. .nr L4 \\n(LPu-\\n(LSu
  24. .rm GA
  25. .rm GB
  26. .dt \\n(L4u EP
  27. .ds DT EP
  28. .af % 001
  29. .em EM
  30. .DI XX
  31. ..
  32. .de TL
  33. .IZ
  34. .rm IZ
  35. .ds T^ \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  36. .br
  37. .nr L4 -15p
  38. .dt \\n(L4u EP
  39. .FS
  40. Permission to copy without fee all or part of this material is
  41. granted provided that the copies are not made or distributed for 
  42. direct commercial advantage, the ACM copyright notice and the title
  43. of the publication and its date appear, and notice is given that
  44. copying is by permission of the Association for Computing Machinery.
  45. To copy otherwise, or to republish, requires a fee and/or specific
  46. permission.
  47. .FE
  48. .br
  49. .na
  50. .ll -1i
  51. .nh
  52. .ft 3
  53. .ps 12
  54. .vs 20p
  55. .rs 
  56. .sp 30p
  57. ..
  58. .\"        MH - BTL...
  59. .de MH
  60. Bell Laboratories, Murray Hill, New Jersey 07974
  61. ..
  62. .\"        AU - author(s)
  63. .de AU
  64. .br
  65. .if \\n(.$ .as AH \0\\$1
  66. .if \\n(.$-1 .as AH \0\\$2
  67. .if \\n(.$-2 .as AH \0\\$3
  68. .if \\n(.$-3 .as AH \0\\$4
  69. .if \\n(.$-4 .as AH \0\\$5
  70. .if \\n(.$-5 .as AH \0\\$6
  71. .if \\n(.$-6 .as AH \0\\$7
  72. .if \\n(.$-7 .as AH \0\\$8
  73. .if \\n(.$-8 .as AH \0\\$9
  74. .if \\n(AV=0 .sp 22p
  75. .if \\n(AV>0 .sp 4p
  76. .nr AV +1
  77. .ps 8
  78. .vs 12p
  79. .ft 1
  80. .br
  81. ..
  82. .\"    AI - authors institution
  83. .de AI
  84. .br
  85. .ft 2
  86. .ps 8
  87. .vs 8p
  88. .sp 9p
  89. ..
  90. .\"    AB - begin an abstract
  91. .de AB
  92. .br
  93. .ul 0
  94. .ce 0
  95. .ll \\n(LLu
  96. .nr IK 1
  97. .sp 16p
  98. .ad
  99. .hy
  100. .ps 6
  101. .ft 1
  102. ABSTRACT\s8.\s0
  103. .ps 8
  104. .vs 10p
  105. .nr PS 8
  106. .nr VS 10
  107. ..
  108. .\"    AE - end of an abstract
  109. .de AE
  110. .br
  111. .nr PS 10
  112. .nr VS 12
  113. .nr 1T 0
  114. .nr IK 0
  115. .ce 0
  116. .sp 6p
  117. ..
  118. .\"    OK - "other keywords" for cover sheet.
  119. .de OK
  120. .br
  121. .ps 6
  122. KEY WORDS AND PHRASES:
  123. .ps 8
  124. ..
  125. .de CR
  126. .sp 6p
  127. .ps 6
  128. CR CATEGORIES:
  129. .ps 8
  130. ..
  131. .de PP
  132. .RT
  133. .if \\n(IP .in -\\n(IQu
  134. .if \\n(IP .nr IP -1
  135. .ce 0
  136. .ne 2
  137. .ti +12p
  138. .sp \\n(PDu
  139. ..
  140. .de LP
  141. .RT
  142. .if \\n(IP .in -\\n(IQu
  143. .if \\n(IP .nr IP -1
  144. .ce 0
  145. .ne 2
  146. .sp \\n(PDu
  147. .ti 0
  148. ..
  149. .de IP
  150. .RT
  151. .sp \\n(PDu
  152. .if \\n(.$>1 .nr IQ \\$2n
  153. .if \\n(IP=0 .in +\\n(IQu
  154. .nr IP 1
  155. .ta \\n(IQu
  156. .if \\n(.$ .ti -\\n(IQu
  157. .if \\n(.$ \\$1\t\c
  158. ..
  159. .de SH
  160. .RT
  161. .SP 12p
  162. .ft 3
  163. .ne 7
  164. ..
  165. .\"    NH - numbered heaDIng
  166. .de NH
  167. .RT
  168. .nr a \\$1
  169. .if !\\n(.$ .nr a 1
  170. .if !\\na .nr a 1
  171. .nr H\\na +1
  172. .if !\\na-1 .nr H2 0
  173. .if \\n(.$ .if !\\$1 .nr H1 1
  174. .ds SN \\n(H1.
  175. .if \\na-1 .as SN \\n(H2.
  176. .if !\\na-1 .ft 2
  177. .if !\\na-1 .ne 5
  178. .if \\na=1 .if \\n(H1>1 .sp .6
  179. .if \\n(H1>1 .SP .3
  180. \\fR\\*(SN\\fP
  181. .nr IH 1
  182. ..
  183. .de EP
  184. .DI
  185. .nr L1 \\n(dn
  186. .ev 1
  187. .ll \\n(LLu
  188. .lt \\n(LLu
  189. .br
  190. .rs
  191. .vs \\n(VS
  192. .sp |\\n(HMu
  193. .ie \\n%>1 .PT
  194. .el .sp 1
  195. .nr TO 0
  196. .sp 1
  197. .nr P1 \\n(LP-\\n(L1
  198. .nf
  199. .if \\nD .tm Top page \\n% at \\n(nl
  200. .if \\n(G1>0 .GT
  201. .rm GT
  202. .nr P1 -\\n(G1
  203. .nr G1 0
  204. .nr P1 -\\n(G2
  205. .if \\n%=1 .nr P1 -16p
  206. .if \\n(P1<0 .nr Q1 0
  207. .if \\n(EX=1 .nr P1 0  \" don't pad on last page of article
  208. .if \\n(G2>0 .nr Q1 0 \" pad above footnote, not in text
  209. .if \\nD .tm Page \\n% Pad \\n(P1 Text \\n(Q1 places Foot? \\n(G2
  210. .XX
  211. .nf
  212. .if \\n(P1>0 .sp \\n(P1u
  213. .if \\n(P1>0 .nr P1 0
  214. .if \\n(G2>0 .GB
  215. .if \\nD .tm Bottom of page \\n% at \\n(nl
  216. .if \\n%=1 .IL
  217. .nr G2 0
  218. .rm GB
  219. .if \\n(EX=0 .BP
  220. .nr G1 \\n(G3
  221. .rn GN GT
  222. .nr G3 0
  223. .if \\n(GR>0 .rn GQ GB
  224. .if \\n(GR>0 .nr G2 \\n(GR
  225. .nr GR 0
  226. .ev 
  227. .if \\n(EX=0 .DI XX
  228. .nr Q1 0
  229. .nr L4 \\n(LPu-\\n(LSu
  230. .nr L4 -\\n(G1
  231. .dt \\n(L4u EP
  232. .ds DT EP
  233. ..
  234. .de SP
  235. .if \\n(.t<\\$1 .\\*(DT
  236. .if \\n(.d>0 .ST \\$1
  237. ..
  238. .de ST
  239. .sp \\$1v
  240. .nr Q1 +1
  241. \!.F@
  242. ..
  243. .de F@
  244. .nr P4 0
  245. .if \\n(Q1>0 .nr P4 3*((\\n(P1/3)/\\n(Q1)
  246. .sp \\n(P4u
  247. .nr P1 -\\n(P4
  248. .nr Q1 -1
  249. ..
  250. .de GS
  251. .\"    argument positions: 1 top here, 2 bottom here, 3 next page, 4 right here
  252. .if \\n(.$>0 .if \\$1=4 .br
  253. .ev 1
  254. .DI GD
  255. .ll \\n(LLu
  256. .lt \\n(LLu
  257. .nr G5 0
  258. .if \\n(.$>0 .nr G5 \\$1
  259. ..
  260. .de GE
  261. .br
  262. .DI
  263. .nf
  264. .nr G0 \\n(dn
  265. .nr G0 +1v
  266. .nr G8 0  \" not placed
  267. .if \\n(G8=0 .if \\n(G0>\\n(.t .if \\n(IF .HQ
  268. .if \\n(G8=0 .if \\n(G0>\\n(.t .HN
  269. .if \\n(G8=0 .if \\n(G5=0 .if \\n(G0>(2*\\n(.d) .HT
  270. .if \\n(G8=0 .if \\n(G5=0 .if (3*\\n(G0)>(2*\\n(.t) .HB
  271. .if \\n(G8=0 .if \\n(G5=0 .HH
  272. .if \\n(G8=0 .if \\n(G5=1 .HT
  273. .if \\n(G8=0 .if \\n(G5=2 .HB
  274. .if \\n(G8=0 .if \\n(G5=3 .HN
  275. .if \\n(G8=0 .if \\n(G5=4 .HH
  276. .rm GD
  277. .fi
  278. .ev
  279. ..
  280. .de HN
  281. .da GN
  282. .GD
  283. .sp 1
  284. .DI
  285. .nr G3 \\n(dn
  286. .nr G8 1
  287. ..
  288. .de HQ
  289. .da GQ
  290. .sp 4p
  291. .GD
  292. .DI
  293. .nr GR \\n(dn
  294. .nr G8 1
  295. ..
  296. .de HT
  297. .nr L4 -\\n(G0
  298. .dt \\n(L4u \\*(DT
  299. .da GT
  300. .GD
  301. .sp
  302. .DI
  303. .nr G1 +\\n(dn
  304. .nr G8 1
  305. ..
  306. .de HB
  307. .if \\n(IF>0 .if \\n(G2>0 .nr G0 -1v
  308. .nr L4 -\\n(G0
  309. .dt \\n(L4u \\*(DT
  310. .da GB
  311. .if \\n(IF=0 .sp 1 \" don't space if this is a footnote
  312. .if \\n(IF>0 .if \\n(G2=0 .sp 1 \" unless only footnote
  313. .if \\n(IF>0 .if \\n(G2>0 .sp 2p \" 2points between footnotes
  314. .GD
  315. .DI
  316. .nr G2 +\\n(dn
  317. .nr G8 1
  318. ..
  319. .de HH
  320. .sp .5v
  321. .GD
  322. .sp .5v
  323. .nr G8 1
  324. ..
  325. .de KS
  326. .br
  327. .ev 2
  328. .ll \\n(LLu
  329. .DI KK
  330. ..
  331. .de KE
  332. .br
  333. .DI
  334. .ev
  335. .if \\n(dn>\\n(.t .\\*(DT
  336. .nf
  337. .KK
  338. .fi
  339. ..
  340. .de FS
  341. .if \\n(IF>0 .tm Footnote within footnote - illegal.
  342. .nr IF +1
  343. .ev 1
  344. .ps 8
  345. .vs 10p
  346. .ev
  347. .GS 2
  348. .fi
  349. ..
  350. .de FE
  351. .GE
  352. .nr IF -1
  353. .ev 1
  354. .ps \\n(PS
  355. .vs \\n(VS
  356. .ev
  357. ..
  358. .de FN
  359. .FS
  360. ..
  361. .de PT
  362. .if \\n%>1 .if o .OT
  363. .if \\n%>1 .if e .ET
  364. ..
  365. .de OT
  366. 'ft 1
  367. .ps \\n(PS
  368. 'tl /\\s10%\\s0//\\s8\\*(AH\\s0/
  369. 'ft P
  370. ..
  371. .de ET
  372. .nr fP \\n(.f
  373. .ft 2
  374. .ps \\n(PS
  375. 'tl /\\*(T^//\\f1\\s10%\\s0/
  376. .ft \\n(fP
  377. ..
  378. .de PF
  379. .sp 1.5v
  380. .lt \\n(.lu
  381. .tl ''\\n%''
  382. ..
  383. .de EQ  \"equation, breakout and display
  384. .nr EF \\n(.u
  385. .rm EE
  386. .nr LE 1    \" 1 is center
  387. .ds EL \\$1
  388. .if "\\$1"L" .ds EL \\$2
  389. .if "\\$1"L" .nr LE 0
  390. .if "\\$1"C" .ds EL \\$2
  391. .if "\\$1"I" .nr LE 0
  392. .if "\\$1"I" .ds EE \\h'10n'
  393. .if "\\$1"I" .if !"\\$3"" .ds EE \\h'\\$3n'
  394. .if "\\$1"I" .ds EL \\$2
  395. .nf
  396. .DI EZ
  397. ..
  398. .de EN  \" end of a displayed equation
  399. .DI
  400. .rm EZ
  401. .nr ZN \\n(dn
  402. .lt \\n(.lu
  403. .if \\n(ZN>0 .if !\\n(.d=\\n(PE .SP .5
  404. .pc
  405. .if \\n(ZN>0 .if \\n(LE>0 .tl \(ts\(ts\\*(10\(ts\\*(EL\(ts
  406. .if \\n(ZN>0 .if \\n(LE=0 .tl '\\*(EE\\*(10''\\*(EL'
  407. .pc %
  408. .lt \\n(LLu
  409. .if \\n(EF>0 .fi
  410. .rm EL
  411. .rm 10
  412. .if \\n(ZN>0 .SP .5
  413. .nr PE \\n(.d
  414. ..
  415. .de B
  416. .ft 3
  417. .if \\n(.$>0 \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  418. .if \\n(.$>0 .ft 1
  419. ..
  420. .de I
  421. .ft 2
  422. .if \\n(.$>0 \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  423. .if \\n(.$>0 .ft 1
  424. ..
  425. .de R
  426. .ft 1
  427. ..
  428. .de EM
  429. .br
  430. .nr EX 1
  431. .wh -82p IM
  432. .wh -1p .CM
  433. .\\*(DT
  434. \&\c
  435. 'BP
  436. .nr q \\n%
  437. .nr % 0
  438. .sp
  439. .rm IM
  440. .XT \\nq
  441. .sp 2
  442. End.
  443. .rm IM
  444. .rm XT
  445. .ex
  446. ..
  447. .de TS
  448. .nf
  449. .sp .5v
  450. ..
  451. .de TE
  452. .fi
  453. .sp .5v
  454. ..
  455. .de CM
  456. .po 0
  457. .lt 7.7i
  458. .tl '--''--'
  459. .lt
  460. .po
  461. ..
  462. .wh 0 CM
  463. .de RT
  464. .IZ
  465. .rm IZ
  466. .if \\n(1T=0 .BG
  467. .br
  468. .ps \\n(PS
  469. .vs \\n(VS
  470. .ft 1
  471. .if \\n(IH>0 .sp 4p
  472. .nr IH 0
  473. ..
  474. .de ND
  475. .if \\n(.$>0 .ds YR \\$\\n(.$
  476. ..
  477. .de BG
  478. .sp 22p
  479. .ns
  480. .nr 1T 1
  481. .if "\\*(YR"" .ds YR 19\\n(yr
  482. .nr zy \\*(YR%100
  483. .af in 0001
  484. .FS
  485. \d\s+6\(co\s-6\u \\*(YR ACM 0004-5411/\\n(zy/\\n(in-0000 $00.75
  486. .FE
  487. ..
  488. .\"   ACCENTS  say \*'e or \*`e to get e acute or e grave
  489. .ds ' \h'\w'e'u*4/10'\z\(aa\h'-\w'e'u*4/10'
  490. .ds ` \h'\w'e'u*4/10'\z\(ga\h'-\w'e'u*4/10'
  491. .\"   UMLAUT  \*:u, etc.
  492. .ds : \v'-0.6m'\h'(1u-(\\n(.fu%2u))*0.13m+0.06m'\z.\h'0.2m'\z.\h'-((1u-(\\n(.fu%2u))*0.13m+0.26m)'\v'0.6m'
  493. .\"  TILDE and CIRCUMFLEX
  494. .ds ^ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z^\h'|\\n:u'
  495. .ds ~ \\k:\h'-\\n(.fu+1u/2u*2u+\\n(.fu-1u*0.13m+0.06m'\z~\h'|\\n:u'
  496. .\"    \"dotted arrow
  497. .ds > \v'-.1m'\s-4---\z-\v'.1m'\h'-.3m'\z>\s+4
  498. .\"        czech symbol as in kucera & francis
  499. .ds C \h'.1m'\v'-0.6m'\s6\zv\s0\v'0.6m'\h'-.1m'
  500. ..
  501. .de IL
  502. .ps 6
  503. .vs 10p
  504. .sp 6p
  505. 'tl /Journal of the Association for Computing Machinery, Vol. \\n(vo, No. \\n(nu, \\*(mo \\*(YR, pp. 000\\*n000.///
  506. .ps
  507. .vs
  508. ..
  509. .de IM
  510. .ps 6
  511. .vs 10p
  512. .br
  513. .if e 'tl ///Journal of the Association for Computing Machinery, Vol. \\n(vo, No. \\n(nu, \\*(mo \\*(YR./
  514. .if o 'tl ///Journal of the Association for Computing Machinery, Vol. \\n(vo, No. \\n(nu, \\*(mo \\*(YR./
  515. .br
  516. .ps
  517. .vs
  518. \&\c
  519. .rm IL
  520. ..
  521. .de XT
  522. .sp 2
  523. .OT
  524. .sp 2
  525. .ET
  526. .if \\n(.$ .if \\$1 .XT \\$1-1
  527. ..
  528. .so /sprite/lib/ditroff/tmac.srefs
  529. .de KF
  530. .tm KF not appropriate for -mjacm, changing to GS
  531. .GS
  532. ..
  533. .de bp
  534. .tm bp?? Why are you using macros if you write troff yourself?
  535. .ne 10i
  536. ..
  537. .de di
  538. .tm di?????? You think you can write your own diversions? I give up.
  539. .ex
  540. ..
  541.